﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">    
     <style type="text/css">
         .style1
         {
             width: 100%;
         }
         .style2
         {
             color: black;
         }
         .style3
         {
             color: #003366;
         }
     </style>
     </head>
<body runat="server">
    <form id="form1" runat="server">
   <table id="table2" style="height: 24px" width="980">
        <tr>
            <td background="../images/bg_login.jpg" style="color: yellow; height: 20px;">
                <span class="style2">TÌM KIẾM</span><br />
                <table class="style1">
                    <tr>
                        <td class="style2">
                            Person_Code</td>
                        <td>
                            <asp:TextBox ID="txt_Person_code" runat="server" CssClass="style3"></asp:TextBox>
                        </td>
                        <td class="style3">
                            Họ</td>
                        <td>
                            <asp:TextBox ID="txt_first_name" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="style2">Tên</td>
                        <td>
                            <asp:TextBox ID="Txt_Last_name" runat="server" CssClass="style3"></asp:TextBox>
                        </td>
                        <td class="style2">
                            Lót</span></td>
                        <td>
                            <asp:TextBox ID="txt_middle_name" runat="server" CssClass="style3"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            Ngày_sinh</td>
                        <td>
                            <asp:TextBox ID="txt_birthday" runat="server" CssClass="style3"></asp:TextBox>
                        </td>
                        <td class="style2">
                            Ngày Mất</span></td>
                        <td>
                            <asp:TextBox ID="txt_deathday" runat="server" CssClass="style3"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            <asp:Button ID="btnSeach" runat="server" onclick="btnSeach_Click" 
                                Text="Seach" />
                        </td>
                        <td>
                            &nbsp;</td>
                        <td class="style2">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        Width="969px">
        <Columns>
            <asp:BoundField DataField="Person_code" HeaderText="Person_code" />
            <asp:BoundField DataField="first_name" HeaderText="Họ" />
            <asp:BoundField DataField="middle_name" HeaderText="Lót" />
            <asp:BoundField DataField="last_name" HeaderText="Tên" />
            <asp:BoundField DataField="birthday" HeaderText="Birthday" />
            <asp:BoundField DataField="death_day" HeaderText="DeathDay" />
        </Columns>
    </asp:GridView>
 <br />
    </form>
</body>
</html>
